package com.fyt.service.user.manager;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fyt.controller.utils.Result;
import com.fyt.entity.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

@Transactional(rollbackFor = Exception.class)
public interface UserService extends IService<User> {
    Result getList(Map<String,String> map);

    Result addUser(Map<String,String>map);

    Result updateUser(Map<String,String>map);

    Result resetPassword(String id);
}
